import mysql from '../common/mysql'
import Sequelize from 'sequelize'

export default mysql.define('Store', {
    id: {
        type: Sequelize.DataTypes.BIGINT.UNSIGNED,
        autoIncrement: true,
        primaryKey: true
    },
    store_no: {
        type: Sequelize.DataTypes.INTEGER,
        allowNull: false,
    },
    name: {
        type: Sequelize.DataTypes.STRING,
        allowNull: false,
    }
}, {
    tableName: 'store'
})
